module: runtime deprecate module.register()#62401
Merged
aduh95 merged 1 commit intonodejs:mainfrom Apr 1, 2026
Merged
Conversation
Collaborator
|
Review requested:
|
c5ce15e to
77638cb
Compare
77638cb to
1a08254
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #62401 +/- ##
=======================================
Coverage 89.71% 89.71%
=======================================
Files 695 695
Lines 214108 214120 +12
Branches 40995 40995
=======================================
+ Hits 192083 192108 +25
+ Misses 14075 14064 -11
+ Partials 7950 7948 -2
🚀 New features to boost your workflow:
|
Member
AugustinMauroy
left a comment
There was a problem hiding this comment.
In general that seem good.
mcollina
approved these changes
Mar 23, 2026
Member
mcollina
left a comment
There was a problem hiding this comment.
lgtm
I think we should aim for 26.x, so we can actually drop in 27
aduh95
reviewed
Mar 23, 2026
himself65
approved these changes
Mar 23, 2026
jsumners-nr
approved these changes
Mar 24, 2026
1a08254 to
2124d8a
Compare
GeoffreyBooth
added a commit
to GeoffreyBooth/node
that referenced
this pull request
Mar 29, 2026
2124d8a to
a0e36fb
Compare
This comment was marked as outdated.
This comment was marked as outdated.
Contributor
Failed to start CI⚠ Commits were pushed since the last approving review: ⚠ - module: runtime-deprecate module.register() (DEP0205) ✘ Refusing to run CI on potentially unsafe PRhttps://github.com/nodejs/node/actions/runs/23816881980 |
Collaborator
joyeecheung
approved these changes
Mar 31, 2026
Collaborator
Collaborator
Collaborator
Collaborator
Commit Queue failed- Loading data for nodejs/node/pull/62401 ✔ Done loading data for nodejs/node/pull/62401 ----------------------------------- PR info ------------------------------------ Title module: runtime deprecate `module.register()` (#62401) ⚠ Could not retrieve the email or name of the PR author's from user's GitHub profile! Branch GeoffreyBooth:runtime-deprecate-module-register -> nodejs:main Labels semver-major, esm, author ready, loaders Commits 1 - module: runtime-deprecate module.register() (DEP0205) Committers 1 - Geoffrey Booth <webadmin@geoffreybooth.com> PR-URL: https://github.com/nodejs/node/pull/62401 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com> Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day> Reviewed-By: Filip Skokan <panva.ip@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> ------------------------------ Generated metadata ------------------------------ PR-URL: https://github.com/nodejs/node/pull/62401 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com> Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day> Reviewed-By: Filip Skokan <panva.ip@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> -------------------------------------------------------------------------------- ℹ This PR was created on Mon, 23 Mar 2026 03:13:06 GMT ✔ Approvals: 5 ✔ - Matteo Collina (@mcollina) (TSC): https://github.com/nodejs/node/pull/62401#pullrequestreview-4037256459 ✔ - Zeyu "Alex" Yang (@himself65): https://github.com/nodejs/node/pull/62401#pullrequestreview-3993639689 ✔ - Gürgün Dayıoğlu (@gurgunday): https://github.com/nodejs/node/pull/62401#pullrequestreview-4026691029 ✔ - Filip Skokan (@panva) (TSC): https://github.com/nodejs/node/pull/62401#pullrequestreview-4033444263 ✔ - Joyee Cheung (@joyeecheung) (TSC): https://github.com/nodejs/node/pull/62401#pullrequestreview-4040152054 ✔ Last GitHub CI successful ℹ Last Full PR CI on 2026-03-31T23:40:03Z: https://ci.nodejs.org/job/node-test-pull-request/72374/ - Querying data for job/node-test-pull-request/72374/ ✔ Build data downloaded ✔ Last Jenkins CI successful -------------------------------------------------------------------------------- ✔ No git cherry-pick in progress ✔ No git am in progress ✔ No git rebase in progress -------------------------------------------------------------------------------- - Bringing origin/main up to date... From https://github.com/nodejs/node * branch main -> FETCH_HEAD ✔ origin/main is now up-to-date - Downloading patch for 62401 From https://github.com/nodejs/node * branch refs/pull/62401/merge -> FETCH_HEAD ✔ Fetched commits as cd391b5f1195..a8414d2e6cf6 -------------------------------------------------------------------------------- [main 5e77224da6] module: runtime-deprecate module.register() (DEP0205) Author: Geoffrey Booth <webadmin@geoffreybooth.com> Date: Sun Mar 29 09:55:51 2026 -0700 5 files changed, 90 insertions(+), 2 deletions(-) create mode 100644 test/es-module/test-esm-register-deprecation.mjs ✔ Patches applied -------------------------------------------------------------------------------- ⚠ Found PR-URL: https://github.com/nodejs/node/pull/62401, skipping.. --------------------------------- New Message ---------------------------------- module: runtime-deprecate module.register() (DEP0205)https://github.com/nodejs/node/actions/runs/23826752669 |
a8414d2 to
4d26994
Compare
Collaborator
JakobJingleheimer
approved these changes
Apr 1, 2026
Contributor
|
Landed in 0dfdec9 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Building on #62395, this runtime-deprecates
module.register().I’m not sure when we want to land and release this; I think the options are basically either:
module.registerHooks()goes stable, hopefully sometime before 26 goes LTS; module: doc-deprecatemodule.register()#62395 (comment)module.register()#62395 (comment)I’m opening this now in case the team wants to do the second option. cc @nodejs/loaders @nodejs/userland-migrations